package com.peycard.persistence.dao.local;
import java.util.List;

import javax.ejb.Local;

import com.peycard.persistence.PersistenceException;
import com.peycard.persistence.entities.UserList;

@Local
public interface UserListDAOLocal extends GenericDAO<UserList, Long> {

	UserList editUser(String user, String pwd, String name, String lastName,
			String address, String zip, String firstA, String email,
			String phone, String country, String state, String rfc,
			String curp, String age, String userAdmin, String active,
			String secretQ, String secretA, String cellphone, String sex)
			throws PersistenceException;

	void setDown(String idListUser, String user) throws PersistenceException;

	List<UserList> getAllUserList() throws PersistenceException;

	List<UserList> getAllUsersNV() throws PersistenceException;

	UserList addUser(String user, String pwd, String name, String lastName,
			String address, String zip, String firstA, String email,
			String phone, String country, String state, String rfc,
			String curp, String age, String userAdmin, String active,
			String secretQ, String secretA, String cellphone, String sex,
			String idCompany) throws PersistenceException;

}
